import request from '@/utils/request'

export function getStatData() {
  return request({
    method: 'get',
    url: 'api/stat'
  })
}

export function getFunnelData() {
  return request({
    method: 'get',
    url: 'statistics/funnel'
  }, true)
}

export function getSourceData() {
  return request({
    method: 'get',
    url: 'statistics/source'
  }, true)
}
